function XmpplogAssistant() {
}

XmpplogAssistant.prototype.setup = function() {
	var doc = this.controller.document;
	var msgs = [
		{ date: new Date(), msg: 'hi'},
		{ date: new Date(), msg: 'hi'},
		{ date: new Date(), msg: 'hi'},
		{ date: new Date(), msg: 'hi'},
		{ date: new Date(), msg: 'hi'}
	];
	var tmp = jQuery('#msg',doc);
	msgs = xmpp.getTransitions();
	tmp.tmpl(msgs).appendTo('#list');
//	jQuery("#msg");
};

XmpplogAssistant.prototype.activate = function(event) {
};

XmpplogAssistant.prototype.deactivate = function(event) {
	/* remove any event handlers you added in activate and do any other cleanup that should happen before
	   this scene is popped or another scene is pushed on top */
};

XmpplogAssistant.prototype.cleanup = function(event) {
	/* this function should do any cleanup needed before the scene is destroyed as 
	   a result of being popped off the scene stack */
};
